using System;
using ZhCun.DbCore.Entitys;

namespace ZhCun.DBModel
{
	public partial class Sys_ADRecord_Detail : EntityBase
	{
		private System.String _Id;
		/// <summary>
		/// 比较符 EqualTo,Like,等
		/// </summary>
		[Entity(ColumnName = CNId, IsPrimaryKey = true, IsNotNull = true)]
		public System.String Id
		{
			get { return _Id; }
			set
			{
				_Id = value;
				base.SetFieldChanged(CNId) ;
			}
		}

		private System.String _RecordId;
		/// <summary>
		/// RecordId
		/// </summary>
		[Entity(ColumnName = CNRecordId)]
		public System.String RecordId
		{
			get { return _RecordId; }
			set
			{
				_RecordId = value;
				base.SetFieldChanged(CNRecordId) ;
			}
		}

		private System.String _FieldName;
		/// <summary>
		/// FieldName
		/// </summary>
		[Entity(ColumnName = CNFieldName)]
		public System.String FieldName
		{
			get { return _FieldName; }
			set
			{
				_FieldName = value;
				base.SetFieldChanged(CNFieldName) ;
			}
		}

		private System.String _CompareSignStr;
		/// <summary>
		/// CompareSignStr
		/// </summary>
		[Entity(ColumnName = CNCompareSignStr)]
		public System.String CompareSignStr
		{
			get { return _CompareSignStr; }
			set
			{
				_CompareSignStr = value;
				base.SetFieldChanged(CNCompareSignStr) ;
			}
		}

		private System.String _SearchValue;
		/// <summary>
		/// SearchValue
		/// </summary>
		[Entity(ColumnName = CNSearchValue)]
		public System.String SearchValue
		{
			get { return _SearchValue; }
			set
			{
				_SearchValue = value;
				base.SetFieldChanged(CNSearchValue) ;
			}
		}

		private System.String _ConnectorSignStr;
		/// <summary>
		/// ConnectorSignStr
		/// </summary>
		[Entity(ColumnName = CNConnectorSignStr)]
		public System.String ConnectorSignStr
		{
			get { return _ConnectorSignStr; }
			set
			{
				_ConnectorSignStr = value;
				base.SetFieldChanged(CNConnectorSignStr) ;
			}
		}

		private System.String _DataTypeStr;
		/// <summary>
		/// DataTypeStr
		/// </summary>
		[Entity(ColumnName = CNDataTypeStr)]
		public System.String DataTypeStr
		{
			get { return _DataTypeStr; }
			set
			{
				_DataTypeStr = value;
				base.SetFieldChanged(CNDataTypeStr) ;
			}
		}

		private System.Int32 _OrderNo;
		/// <summary>
		/// OrderNo
		/// </summary>
		[Entity(ColumnName = CNOrderNo, IsNotNull = true)]
		public System.Int32 OrderNo
		{
			get { return _OrderNo; }
			set
			{
				_OrderNo = value;
				base.SetFieldChanged(CNOrderNo) ;
			}
		}

		#region 字段名的定义
		public const string CNId = "Id";
		public const string CNRecordId = "RecordId";
		public const string CNFieldName = "FieldName";
		public const string CNCompareSignStr = "CompareSignStr";
		public const string CNSearchValue = "SearchValue";
		public const string CNConnectorSignStr = "ConnectorSignStr";
		public const string CNDataTypeStr = "DataTypeStr";
		public const string CNOrderNo = "OrderNo";
		#endregion

	}
}
